/* 
 * Copyright 2013-2020 Modeliosoft
 * 
 * This file is part of Modelio.
 * 
 * Modelio is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Modelio is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Modelio.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.12.02 at 02:29:48 PM CET
//
package org.modelio.bpmnxml.model;

import com.modeliosoft.modelio.javadesigner.annotations.objid;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;

/**
 * <p>Java class for tGatewayDirection.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="tGatewayDirection">
 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 * &lt;enumeration value="Unspecified"/>
 * &lt;enumeration value="Converging"/>
 * &lt;enumeration value="Diverging"/>
 * &lt;enumeration value="Mixed"/>
 * &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 */
@objid ("bed19d5b-8a3c-4a29-80a4-585e3e57e395")
@XmlType(name = "tGatewayDirection")
@XmlEnum
public enum TGatewayDirection {
    @objid ("af45639b-6e2d-43ab-a207-1e4ad7065d0a")
    @XmlEnumValue("Unspecified")
    UNSPECIFIED("Unspecified"),
    @objid ("18f0648f-dcad-4c74-9a87-1a299a74f459")
    @XmlEnumValue("Converging")
    CONVERGING("Converging"),
    @objid ("f7df0fb9-2f48-46eb-8f28-5430aa8f349e")
    @XmlEnumValue("Diverging")
    DIVERGING("Diverging"),
    @objid ("5eea6e8d-d312-4e48-a492-8f8f7eea2600")
    @XmlEnumValue("Mixed")
    MIXED("Mixed");

    @objid ("b6555b62-40a4-48c9-b8bb-86e14fc1de8a")
    private final String value;

    @objid ("ec74c6bf-7b86-48a2-807d-d764ab466906")
     TGatewayDirection(String v) {
        this.value = v;
    }

    @objid ("6d74ca47-ce33-4281-b5da-f5269a0e0719")
    public String value() {
        return this.value;
    }

    @objid ("05e69ab3-1dbe-4468-9ea4-ad0c0accc735")
    public static TGatewayDirection fromValue(String v) {
        for (TGatewayDirection c: TGatewayDirection.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
        
    }

}
